<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>庆余年</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="container-fluid" id="aa">
        <div class="row">
            <h1 class="text-center">庆余年全集</h1>
        </div>
    </div>
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript">
     $(document).ready(function () {
        let sname = [ "第01集", "第02集", "第03集", "第04集", "第05集", "第06集", "第07集", "第08集", "第09集", "第10集", "第11集", "第12集", "第13集", "第14集", "第15集", "第16集", "第17集", "第18集", "第19集", "第20集", "第21集", "第22集", "第23集", "第24集", "第25集", "第26集", "第27集", "第28集", "第29集", "第30集", "第31集", "第32集", "第33集", "第34集", "第35集", "第36集", "第37集", "第38集", "第39集", "第40集", "第41集", "第42集", "第43集", "第44集", "第45集", "第46集" ];
        let surl = ['https://www.ziboshishen.com/share/P7GI2FtMiY43hrDb', 'https://www.ziboshishen.com/share/zO43NlwomqXRyEkd', 'https://www.ziboshishen.com/share/SeEwjxHtmJcOZh7M', 'https://www.ziboshishen.com/share/C4OVKiAQtr6fERDg', 'https://www.ziboshishen.com/share/RUcSV37QlqNFAz8b', 'https://www.ziboshishen.com/share/lTRvALDH4hMOBUXf', 'https://www.ziboshishen.com/share/7uYH603MN1ZEoWxr', 'https://www.ziboshishen.com/share/RZ2txG7eXQc1NYwB', 'https://www.ziboshishen.com/share/DBvKtkhuFZ7yELse', 'https://www.ziboshishen.com/share/kFcrvKCte120gTEM', 'https://www.ziboshishen.com/share/XyzOgCNZcpasuIt7', 'https://www.ziboshishen.com/share/YIpltJkWRDvEN6sA', 'https://www.ziboshishen.com/share/f52bzE1q9GDsY7m0', 'https://www.ziboshishen.com/share/NLaCvz8gcnrZRWxD', 'https://www.ziboshishen.com/share/lSjEgH2IkKzqm3Ud', 'https://www.ziboshishen.com/share/YiIEhZSgMzk4qtjX', 'https://www.ziboshishen.com/share/JzHNuqYPsRnUSvkp', 'https://www.ziboshishen.com/share/m3nrPNgdHh6WblBV', 'https://www.ziboshishen.com/share/6T9iNFRGEMmkCnoL', 'https://www.ziboshishen.com/share/DaNx2V8SpJI45z0T', 'https://www.ziboshishen.com/share/tHhaNd5pJ68b2TSK', 'https://www.ziboshishen.com/share/9rPGeWB6cOSJk2Mp', 'https://www.ziboshishen.com/share/o342k76iB0JtrQ8M', 'https://www.ziboshishen.com/share/Vq3KCj06uwoeOfiQ', 'https://www.ziboshishen.com/share/wMK7OgRdLlXDVvmE', 'https://www.ziboshishen.com/share/r75YjMczPTF08aU6', 'https://www.ziboshishen.com/share/eolyEbYs7iHKu0LF', 'https://www.ziboshishen.com/share/9dURDYGLiNWMVohI', 'https://www.ziboshishen.com/share/2SPElMn1mHfACgce', 'https://www.ziboshishen.com/share/h2XWSeY85al73DPT', 'https://www.ziboshishen.com/share/7XmHiI82p19hlQyS', 'https://www.ziboshishen.com/share/IPc3TBELw8vhMonz', 'https://www.ziboshishen.com/share/OnHQzhNDsBT3P6wK', 'https://www.ziboshishen.com/share/7zdofXTtGEjSPYHI', 'https://www.ziboshishen.com/share/vYRmnxzhU34gTy9b', 'https://www.ziboshishen.com/share/Gg2Kb8EjdYaAyLBC', 'https://www.ziboshishen.com/share/Rz5qY01TNoWS6rUi', 'https://www.ziboshishen.com/share/jWanQBmsLx760JIN', 'https://www.ziboshishen.com/share/hSJnE75mfQ0I2BrP', 'https://www.ziboshishen.com/share/xIUJZfRXWL3jMw0q', 'https://www.ziboshishen.com/share/kElp5Mg7QVqUOZD8', 'https://www.ziboshishen.com/share/itCypN3gI0ZdDMmU', 'https://www.ziboshishen.com/share/F9x4fnDWbaLci2Tu', 'https://www.ziboshishen.com/share/Kp2364QcgWb0H7oz', 'https://www.ziboshishen.com/share/fAsFMkpWJ8ZVa0E1', 'https://www.ziboshishen.com/share/dRV3tLOfJUy4lmFQ'];
        for(let index in sname)
            {
              var div_child1 = '<div class="row" style="padding: 10px;"><div class="col-md-6 col-md-offset-3"><button id="gl" type="button" class="btn btn-primary btn-lg btn-block" onclick="window.open(\''+surl[index]+'\')">'+sname[index]+'</button></div></div>';            
              $("#aa").append(div_child1);//window.open('+surl[index]+', "_blank")
            }
      
     });
    </script>
</body>

</html>